<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="ctp-tag" prefix="ctp" %> 
<%@page import="java.util.ArrayList"%>
<%--
<ANNOTATION.PAGE>
<fileName> error.jsp </fileName>
<author> kfzx-daiyf </author>
<createDate> 2010-5-4 下午06:23:28 </createDate>
<lastModifier> 2010-5-4 下午06:23:28 </lastModifier>
<lastModifyDate> 2010-5-4 下午06:23:28 </lastModifyDate>
<description>数据表格</Description>
</ANNOTATION.PAGE>
--%>

<html xmlns="http://www.w3.org/1999/xhtml" >

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><ctp:label key="title"/></title>

<ctp:include items='panel'/>

<link rel="stylesheet" type="text/css" href="<ctp:out name='fullPath'/>css/reset.css" />

<style type="text/css">
	html{
		dbackground:white url("<ctp:out name='fullPath' />/images/icbcbg.gif") repeat;	
		width:100%;
		height:100%;
		overflow:hidden;
	}
	body{width:100%;height:100%;font-size:14px;}
	#shadow{
		position:absolute;
		top:25%;
		left:25%;
		width:50%;
		height:50%;
		overflow:visible;
	}


	#main{
		position:relative;
		padding:20px;
		text-align:center;
	}
	#content{line-height:1.5;}
	#content img{float:left;}


	#word{
		vertical-align:50px;
	}
	
	#retButton{
		margin:0;
		padding:0;
		float:left;
		background:url("<ctp:out name='fullPath'/>/images/pn.png") no-repeat right -280px;
		position:relative;
		left:45%;
		clear:both;
	}
	
	#retButton a{
		position:relative;
		display:block;
		background:url("<ctp:out name='fullPath'/>/images/pn.png") no-repeat left -240px;
		left:-25px;
		padding:5px 20px;
		margin-right:-25px;
		float:left;/*产生布局*/
		text-decoration:none;
		color:#efefef;
		font-weight:bold;
		cursor:pointer;
	}
	#retButton a:hover{color:#fff;}
</style>
<script type='text/javascript'>
function gotoIndex(flag,siteOperationName){
		signOff_submit(flag, siteOperationName);
		//var indexPage='<ctp:out name="fullPath" />index.jsp';
		//top.window.location.href=indexPage;
	}
function signOff_submit(flag, siteOperationName){
	unloadflag=false;
		document.signOffForm.siteOperationName.value = siteOperationName;
		 if (flag == '0'){
			  document.signOffForm.flowActionName.value = "signOut";
			 }
	 else{ 
			  document.signOffForm.flowActionName.value = "exit";
			 }
			  document.signOffForm.submit();
			            
}

</script>
</head>  
<body>	
	<ctp:set name="exception" value="CTEException"/>
	<div id="shadow">
			<div id="main">
				<p id="content"><img src="<ctp:out name='fullPath'/>/images/suprise.gif" style="height:100px;width:100px" />
							<span id="word"><ctp:label key="errorCode"/><ctp:out name="exception.errorCode"/>&nbsp;&nbsp;&nbsp;&nbsp;<ctp:label key="errorMessage"/>
							<span style="color:red"><ctp:out name="exception.getMessage()"/></span>
				</span></p>
				<p id="retButton">
					<ctp:if test="sessCtx.ssicFlag eq 1">
						<a href="javascript:gotoIndex('1', 'signOutSSI')"><ctp:label key="returnbutton"/></a>
					</ctp:if>
					<ctp:else>
						<a href="javascript:gotoIndex('0', 'signOut')"><ctp:label key="returnbutton"/></a>
					</ctp:else>
				</p>
			</div>
	</div>
	<ctp:form name="signOffForm" method="post" action="signoff.flowc"	flowActionName="signOut">
<ctp:hidden name="siteOperationName" />
</ctp:form>
</body>
<script language="javascript">
	var tarPanel;
	$(window).load(function(){
		tarPanel=new ctp.ui.panel({
			title:"出错啦!",
			closable:false,
			visible:'visible',
			renderTo:'shadow',
			html:'main',
			closable:false,
			btnstatus:false
			})
	});
</script>
</html>